﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


class getNnumbers
{
    static void Main(string[] args)
    {

        int n = 0;
        int sum = 0;
        while (true)
        {
            Console.Write("Enter N = ");
            sum = n + Convert.ToInt32(Console.ReadLine());
            Console.WriteLine(sum);
            n = sum;
        }
    }
}

